<script>
export default {
  name: "pop-up-box"
}
</script>

<template>
  <div class="layui-panel pop-up-box">
    <div style="padding: 32px;">
      <slot>插槽的默认内容</slot>
    </div>
  </div>
</template>

<style scoped lang="less">
.pop-up-box {
  width: 400px;
  margin: 100px auto;
}
</style>